package com.dragon.mmochat.model.enumType;

public enum MmochatStoneBetType {
	石头(1), 剪刀(2), 布(3);

	int value;

	MmochatStoneBetType(int v) {
		value = v;
	}

	public int getValue() {
		return value;
	}

	public static MmochatStoneBetType get(int v) {
		for (MmochatStoneBetType type : MmochatStoneBetType.values()) {
			if (type.getValue() == v) {
				return type;
			}
		}
		return null;
	}
}
